#!/usr/bin/env node

//2. 回调异步方式打印文件内容

const fs = require('fs');

const file = process.argv[2] || __filename;

fs.readFile(file,'utf8',(err,data)=>{
  console.log(data);
});

